﻿//Created by Action Script Viewer - http://www.buraks.com/asv
package Transactions.lot {
    import Engine.Transactions.*;
    import Classes.orders.*;

    public class TLotOrderDeny extends Transaction {

        private var m_lotOrder:LotOrder;

        public function TLotOrderDeny(_arg1:LotOrder){
            this.m_lotOrder = _arg1;
            this.m_lotOrder.setState(OrderStates.DENIED);
            Global.world.orderMgr.removeOrder(this.m_lotOrder);
            super();
        }
        override public function perform():void{
            signedCall("LotOrderService.denyOrder", this.m_lotOrder.getParams());
        }

    }
}//package Transactions.lot 
